_options.e9511092.js 5.1 KB

1
  1. import{h as g,i as s}from"./validator.92b8f4b2.js";const n=[{value:"0",label:"\u590D\u5236\u5F85\u7F16\u8F91"},{value:"1",label:"\u62DB\u6807\u8FDB\u884C\u4E2D"},{value:"2",label:"\u62DB\u6807\u5DF2\u7ED3\u675F"},{value:"3",label:"\u5F85\u4E1A\u52A1\u4E0B\u5355"},{value:"5",label:"\u5DF2\u6210\u529F\u8F6C\u5355"},{value:"6",label:"\u7ADE\u4EF7\u5355\u5DF2\u5931\u6548"},{value:"7",label:"\u62DB\u6807\u5DF2\u6682\u505C"}],l=[{value:"0",label:"\u975E\u9879\u76EE\u7ADE\u4EF7\u5355"},{value:"1",label:"\u9879\u76EE\u7ADE\u4EF7\u5355"},{value:"2",label:"\u4E1A\u52A1\u62A5\u5907"}],A=[{value:"0",label:"\u975E\u9879\u76EE"},{value:"1",label:"\u9879\u76EE"}],m=[{value:"0",label:"\u4E00\u5730"},{value:"1",label:"\u591A\u5730"}],c=[{value:"0",label:"\u975E\u5B9A\u5236"},{value:"1",label:"\u5B9A\u5236"}],B={is_project:"",area:"",name:"",platform_code:"",companyNo:"",khNo:"",budget_total:"0.00",arrtime:"",endtime:"",use_desc:"",ladder:[]},_={arrival_time:"",budget_price:"",is_addrs:"",num:"",brand_id:"",is_custom:"",total_weight:"",unit:"",cat_id:"",good_name:"",cost_desc:"",use_desc:"",remark:"",specs:[]},q={companyNo:[{required:!0,message:"\u8BF7\u9009\u62E9\u9500\u552E\u65B9\u516C\u53F8",trigger:"change"}],area:[{required:!0,message:"\u8BF7\u9009\u62E9\u6536\u8D27\u533A\u57DF"}],khNo:[{required:!0,message:"\u8BF7\u9009\u62E9\u8D2D\u4E70\u65B9\u516C\u53F8",trigger:"change"}],platform_code:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u5E73\u53F0",trigger:"change"}],pay_id:[{required:!0,message:"\u8BF7\u9009\u62E9\u652F\u4ED8\u6E20\u9053",trigger:"change"}],endtime:[{required:!0,message:"\u7ADE\u4EF7\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A",trigger:"change"}],is_project:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ADE\u4EF7\u7C7B\u578B\uFF01",trigger:"change"}],projectNo:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE",trigger:"change"}]},F=(r,u,e)=>{u===""||!u?e(new Error("\u9884\u7B97\u5355\u4EF7\u4E0D\u80FD\u4E3A\u7A7A\uFF01")):u==="0"||u==="0."||u==="0.0"||u==="0.00"?e(new Error("\u9884\u7B97\u5355\u4EF7\u4E0D\u80FD\u4E3A\u96F6\uFF01")):e()},E=(r,u,e)=>{u===""||!u?e(new Error("\u8D2D\u4E70\u6570\u91CF\u4E0D\u80FD\u4E3A\u7A7A\uFF01")):u==="0"?e(new Error("\u8D2D\u4E70\u6570\u91CF\u4E0D\u80FD\u4E3A\u96F6\uFF01")):e()},a=(r,u,e)=>{const{required:i}=r;i&&u.length==0?e(new Error("\u4E0D\u80FD\u4E3A\u7A7A\uFF01")):g(u)?e(new Error("\u4E0D\u80FD\u51FA\u73B0/\u56DE\u8F66/\u6362\u884C\u7B26\uFF01")):s(u)?e(new Error("\u4E0D\u80FD\u4F7F\u7528\u82F1\u6587\u7279\u6B8A\u5B57\u7B26\uFF01")):e()},d=(r,u,e)=>{const{required:i}=r;i&&u===""?e(new Error("\u5546\u54C1\u91CD\u91CF\u4E0D\u80FD\u4E3A\u7A7A\uFF01")):i&&(u==="0"||u==="0."||u==="0.0"||u==="0.00"||u==="0.000")?e(new Error("\u5546\u54C1\u91CD\u91CF\u4E0D\u80FD\u4E3A\u96F6\uFF01")):e()},o=(r,u,e)=>{const{required:i}=r;i&&u===""?e(new Error("\u91D1\u5C5E\u514B\u91CD\u4E0D\u80FD\u4E3A\u7A7A\uFF01")):i&&(u==="0"||u==="0."||u==="0.0"||u==="0.00"||u==="0.000")?e(new Error("\u91D1\u5C5E\u514B\u91CD\u4E0D\u80FD\u4E3A\u96F6\uFF01")):e()},t=(r,u,e)=>{const{required:i}=r;i&&u===""?e(new Error("\u4E0D\u80FD\u4E3A\u7A7A\uFF01")):u.length>0&&s(u)?e(new Error("\u4E0D\u80FD\u4F7F\u7528\u82F1\u6587\u7279\u6B8A\u5B57\u7B26\uFF01")):e()},C={arrival_time:[{required:!0,message:"\u5230\u8D27\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A",trigger:"change"}],budget_price:[{required:!0,validator:F,trigger:"change"}],num:[{required:!0,validator:E,trigger:"change"}],brand_id:[{required:!0,message:"\u8BF7\u9009\u62E9\u54C1\u724C",trigger:"change"}],unit:[{required:!0,message:"\u8BF7\u9009\u62E9\u5355\u4F4D",trigger:"change"}],cat_id:[{required:!0,message:"\u8BF7\u9009\u62E9\u5546\u54C1\u5206\u7C7B",trigger:"change"}],good_img:[{required:!0,message:"\u5546\u54C1\u56FE\u7247\u4E0D\u80FD\u4E3A\u7A7A",trigger:"change"}],good_name:[{required:!0,validator:a,trigger:"blur"}],model:[{required:!0,message:"\u578B\u53F7\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"}],color:[{required:!0,message:"\u989C\u8272\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"}],material:[{required:!0,message:"\u6750\u8D28\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"}],total_weight:[{required:!1,validator:d,trigger:"blur"}],is_addrs:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u591A\u5730",trigger:"change"}],is_custom:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5B9A\u5236",trigger:"change"}],is_gold_price:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u542F\u7528\u5B9E\u65F6\u91D1\u4EF7",trigger:"change"}],config:[{required:!0,message:"\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u914D\u7F6E",trigger:"change"}],specs_weight:[{required:!0,validator:o,trigger:"blur"}],other_config:[{required:!0,message:"\u5176\u4ED6\u8981\u6C42\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"}],cost_desc:[{required:!1,validator:t,trigger:"blur"}],remark:[{required:!0,validator:t,trigger:"blur"}],metal_id:[{required:!0,message:"\u8D35\u91D1\u5C5E\u79CD\u7C7B\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"}],gold_price:[{required:!0,message:"\u5F53\u524D\u91D1\u4EF7\u4E0D\u80FD\u4E3A\u7A7A",trigger:"blur"}],enclosure_file:[{required:!1,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6",trigger:"change"}]};export{_ as a,A as b,C as c,m as d,c as e,l as f,B as i,q as r,n as s};